{extend name="public:index"/}
{block name="title"}{:sysconf('title')}{/block}
{block name="content"}
<section class="whtop">
    <div class="top">
        <p class="p1"><a href="javascript:history.back(-1)"></a></p>
        <p class="p2">{$data['title']}</p>
        <p class="p3"></p>
    </div>
</section>
<section style="height:2rem;"></section>
<section class="newsbox">
    {if condition="$data['list']"}
    <ul>
        {foreach name="$data['list']" item="vo"}
        <li>
            <a href="{:url('User/article',['id'=>$vo['id']])}">
                <p style="height: 5rem;overflow: hidden;"><img src="{$vo.img_url}" alt="" style="display: block;width: 100%;"></p>
                <b>{$vo['title']}</b>
                <p style="border-top: 1px solid #eee;margin-top: 10px;padding-top: 10px;color: #077adb;">去看看<i style="float: right;">></i></p>
            </a>
        </li>
        {/foreach}
    </ul>
    {else/}
    <div class="nofind"><img src="__INDEX__/images/nosp.png" alt=""><p>暂时没有记录</p></div>
    {/if}
</section>
{/block}